﻿#region Using

using System.Runtime.Serialization;

using Common.Base;

#endregion

namespace CommunicationLibrary.TransportData.CommandArgs
{
    [DataContract(Name = "B")]
    public class RouteCommandArgs
    {
        public RouteCommandArgs(Position start, Position end)
        {
            this.EndPosition = end;
            this.StartPosition = start;
        }

        [DataMember(Name = "A")]
        public Position StartPosition { get; private set; }

        [DataMember(Name = "B")]
        public Position EndPosition { get; private set; }
    }
}